package com.peach.stock.common;

import java.math.BigDecimal;
import java.util.Comparator;
import java.util.Map;
import java.util.Map.Entry;

public class MapValueComparator implements Comparator<Map.Entry<String, BigDecimal>> {

    @Override
    public int compare(Entry<String, BigDecimal> me1, Entry<String, BigDecimal> me2) {

        return me1.getValue().compareTo(me2.getValue());
    }
    
}
